home *** CD-ROM | disk | FTP | other *** search
/ FM Towns: Free Software Collection 4 / FM Towns Free Software Collection 4 - Disc 1.iso / t_os / wstype / source / makefile < prev    next >
Makefile  |  1991-10-18  |  907b  |  30 lines

  1. tmpfile = d:\tmp.mak
  2.  
  3. wstype.exp : wstype.o graph.o keyin.o window.o fswind.o fswind_n.o fswind_w.o \
  4.         getfiles.o asms.o dropdm.o icn.o tree.o dosint.o srom.o \
  5.         windmgr.o txwind.o beep.o others.o bufmgr.o optparse.o \
  6.         backg.o eyes.o scroll.o clck.o disp.o roll.o werror.o wconf.o \
  7.         wcall.o whelp.o
  8.     echo -N -T1000 a:/usr/lib/crt0i.o a:/usr/lib/rin.o>$(tmpfile)
  9.     !echo $**>>$(tmpfile)
  10.     echo -La:/usr/lib -lt -lr -lmy -lce>>$(tmpfile)
  11.     run386 a:\usr\bin\ld @$(tmpfile)
  12.     del $(tmpfile)
  13.     run386 a:\usr\bin\size a.out>size
  14. #    run386 a:\usr\bin\nm a.out>$*.map
  15.     run386 d:\genexp3 a.out $@
  16.     del a.out
  17.     type size
  18.  
  19. .SUFFIXES:    .o .exp .c .s
  20.  
  21. .s.o:
  22.     run386 d:\gas -o $*.o $<
  23.  
  24. .c.o:
  25.     run386 d:\cpp -D__GNUC__ -DTOWNS -I. -I a:/usr/include $< $*.i
  26.     run386 d:\cc1 -O -Wall -Wcast-qual -fforce-mem -fforce-addr -ansi -pedantic -quiet $*.i
  27.     del $*.i
  28.     run386 d:\gas -o $*.o $*.s
  29.     del $*.s
  30.